//
//  HYDeviceControlApi.h
//  TJHYHardwareProduct
//
//  Created by Kendama on 2018/2/28.
//  Copyright © 2018年 Kendama. All rights reserved.
//

#import "YTKBaseRequest.h"

@interface HYDeviceControlApi : YTKBaseRequest

-(id)initWithDic:(NSDictionary *)dic;
/**
 @param device_id 设备id
 @param status 0.断开 1.接通
 */
+ (void)controlDevice:(NSString *)device_id status:(int)status success:(void(^)(NSDictionary *dic))successBack fail:(void(^)(NSDictionary *dic))failBack;

@end
